package pub.digur.app;

import java.util.ArrayList;

import pub.digur.stream.PublicDigur;
import pub.digur.stream.Status;

public class App {

	public static void main(String[] args) throws Exception {
		
		PublicDigur pd = new PublicDigur("http://api.minicloud.com.cn/statuses/public_timeline.xml");
		
		ArrayList<Status> statuses = pd.shit();
		for (Status status: statuses)
		{
			System.out.println(status.profileImage + "\t"
					+ status.screenName + "\t"
					+ status.text + "\t"
					+ status.createdDate);
		}
	}

}
